
#ifndef __NotificationsOverlay_H__
#define __NotificationsOverlay_H__

#include "OgreConfigFile.h"
#include <OgreColourValue.h>

using namespace Ogre;

#define NOTIFICATIONS_COUNT   10


class NotificationsOverlay
   {
public:
         NotificationsOverlay();
        ~NotificationsOverlay();

   void  FrameStarted(Real timeElapsed);
   void  AddNotification(String theNotification, ColourValue &textColor);
   //void  Show(void) { theOverlay->show(); };
   //void  Hide(void) { theOverlay->hide(); };

private:
   typedef struct
      {
      Real        timeLeftToDisplay;
      ColourValue textColor;
      String      notificationString;
      } Notification;

   Overlay *      theOverlay;
   int            activeNotificationsCount;
   Notification   notifications[NOTIFICATIONS_COUNT];
   };


#endif
